package com.yingsheng.bi.hks.bo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;

@ApiModel(value = "地址")
@Data
public class AddrBo {

    @ApiModelProperty(value = "地址标识")
    private String id;

    @ApiModelProperty(value = "地址类型",notes = "家庭住址、公司地址、收货地址、服务地址")
    private String type;

    @ApiModelProperty(value = "联系人")
    private String name;

    @ApiModelProperty(value = "联系号码")
    private String phone;

    @ApiModelProperty(value = "经度")
    private String longitude;

    @ApiModelProperty(value = "纬度")
    private String latitude;

    @ApiModelProperty(value = "省份")
    private String province;

    @ApiModelProperty(value = "城市")
    private String city;

    @ApiModelProperty(value = "地区")
    private String region;

    @ApiModelProperty(value = "地址的第一行")
    private String addrLine1;

    @ApiModelProperty(value = "地址的第一行")
    private String addrLine2;

    @ApiModelProperty(value = "地址标签")
    private String addrTags;

    @ApiModelProperty(value = "默认标识 0是1否,默认传1")
    private Integer defaultFlg;

    @ApiModelProperty(value = "描述信息")
    private String description;
}
